package com.qing.expert.modules.expert.vo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ExpertApplyRequest {
    @NotBlank(message = "请选择申请分类")
    private String categoryId;

    @NotBlank(message = "请填写达人介绍")
    @Size(min = 10, max = 500, message = "介绍内容需在10-500字之间")
    private String description;

    @NotEmpty(message = "请上传资质证明")
    @Size(max = 5, message = "最多上传5张资质证明")
    private List<String> certificateImages;

    /**
     * 最低价格
     */
    @NotNull(message = "最低价格不能为空")
    private BigDecimal priceMin;

    /**
     * 最高价格
     */
    @NotNull(message = "最高价格不能为空")
    private BigDecimal priceMax;
}